﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Download.aspx.cs" Inherits="CodeAuto.Download" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        相关下载
    </h2>
    <%
        if (IsLogin)
        { 
    %>
    <p>
        <a href="/Files/DavidDB.rar">DavidDB</a>是配合代码生成器开发的一款跨数据库访问组件
    </p>
    <p>
        <a href="/Files/DavidLog.rar">DavidLog</a>是一款轻巧的日志组件
    </p>
    <hr style="width:100%;"/>
    <p><b>ACCESS数据库连接字符串</b></p>
    <p>&lt;connectionStrings&gt;<br/>
	  <span><span style="padding-left:40px;">&lt;add name="connectionString" providerName="System.Data.Oledb" connectionString="provider=microsoft.jet.oledb.4.0;data source=|xxxx.mdb"/&gt;<br/>
  &lt;/connectionStrings&gt;</span></span><br/>
    </p>
    <hr style="width:100%;"/>
    <p><b>MSSQL数据库连接字符串</b></p>
    <p>&lt;connectionStrings&gt;<br/>
	  <span><span style="padding-left:40px;">&lt;add name="connectionString" providerName="System.Data.SqlClient" connectionString="Data Source=KAIFA-ZHUREN;Integrated Security=True;database=xxxx;"/&gt;<br/>
  &lt;/connectionStrings&gt;</span></span><br/>
    </p>
    <hr style="width:100%;"/>
    <p><b>SQLITE数据库连接字符串</b></p>
    <p>&lt;connectionStrings&gt;<br/>
	  <span><span style="padding-left:40px;">&lt;add name="connectionString" providerName="System.Data.Sqlite" connectionString="Data Source=|xxxx.db3"/&gt;<br/>
  &lt;/connectionStrings&gt;</span></span><br/>
    </p>
    <%
        }
    %>
</asp:Content>
